#
# Be sure to run `pod lib lint MantisIMSDKUI.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'MantisIMSDKUI'
  s.version          = '1.0.2'
  s.summary          = 'MantisIMSDKUI'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/disu'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'chenzhiliang' => '754537750@qq.com' }
  s.source           = { :git => 'https://gitee.com/disu/mantis-uiimsdk.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '9.0'
  
  s.requires_arc = true #是否支持ARC
  s.static_framework = true  #是否使用静态库。如果podfile指明了  use_frameworks!命令，但是pod仓库需要使用静态库则需要设置,否则报错

  s.source_files = 'MantisIMSDKUI/Classes/**/*','MantisIMSDKUI/Vendor/*.framework/Headers/**.h'
  s.public_header_files = 'MantisIMSDKUI/Classes/**/*.h','MantisIMSDKUI/Vendor/MantisChatSDK.framework/Headers/MantisChatSDK.h'

  
  s.resource='MantisIMSDKUI/**/*.{plist,png,xcassets}'
  # s.resource_bundles = {
  #   'MantisIMSDKUI' => ['MantisIMSDKUI/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  s.frameworks = 'MantisChatSDK'
  s.vendored_frameworks = ['MantisIMSDKUI/Vendor/MantisChatSDK.framework']
  s.dependency 'AFNetworking','~>4.0.1'
  s.dependency 'YYKit','~>1.0.9'
  s.dependency 'JKCategories' #类扩展
  s.dependency 'Masonry'
  s.dependency 'MJExtension', '~> 3.0.17'
  s.dependency 'IQKeyboardManager', '~> 6.2.0'   #键盘
  s.dependency 'MBProgressHUD', '~> 1.0.0'
  s.dependency 'TZImagePickerController', '~> 3.0.7'  #相册、拍照
  s.dependency 'ObjectiveGumbo', '0.1'         #解析标签
  s.dependency 'TXIMSDK_iOS','5.1.56' #腾讯云
  
 s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS' => 'armv7 arm64',
     'HEADER_SEARCH_PATHS' => '$(PODS_ROOT)/MantisIMSDKUI/Vendors/*.framework/Headers',
     'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
 }
 s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
end
